-
Notifications
You must be signed in to change notification settings - Fork 931
Ensure custody backfill sync couples all responses before importing #8339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure custody backfill sync couples all responses before importing #8339
Conversation
ffc5474 to
53a79cb
Compare
53a79cb to
b213fe5
Compare
|
#8340 needs to be merged and cherry-picked into |
|
I'm testing the api changes locally, I'll mark this ready for review once I'm done with that |
|
Some required checks have failed. Could you please take a look @eserilev? 🙏 |
|
both the custody bakcfill sync bugdix and new api seem to be working just fine on a local sepolia node, tomorrow I'm going to deploy this to one of our internal hoodi nodes and try a custody backfill re-sync using the new api |
I'll do this now |
|
When custody backfill is manually triggered, it quickily fills up the beacon.log files with this log: I think we should remove this debug log, as it's a bit excessive when it logs 128 entries per slot on a supernode, and makes it difficult to debug if things go wrong. |
|
@Mergifyio requeue |
☑️ This pull request is already queued |
|
@mergify dequeue |
|
This pull request has been removed from the queue for the following reason: Pull request #8339 has been dequeued by a You can check the last failing draft PR here: #8350. You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. |
✅ The pull request has been removed from the queue
|
…igp#8339) Squashed commit of the following: commit c32c745 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 16:33:06 2025 +1100 Fix tests. commit d9b2515 Author: Michael Sproul <[email protected]> Date: Mon Nov 3 16:03:46 2025 +1100 Apply suggestion from @michaelsproul commit 7edcb6d Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 15:59:44 2025 +1100 Address review comments commit bb1ace8 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 15:43:45 2025 +1100 Fix build commit 580b584 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 15:39:01 2025 +1100 Address review comments. commit 984d1af Merge: 9515494 b57d046 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 14:47:29 2025 +1100 Merge remote-tracking branch 'origin/release-v8.0' into fork/eserilev/custody-backfill-sync-fix commit 9515494 Merge: 56111a8 55588f7 Author: Eitan Seri-Levi <[email protected]> Date: Sun Nov 2 10:32:01 2025 -0800 Resolve merge conflicts commit 56111a8 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 14:26:03 2025 -0700 Fix comments commit b213fe5 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 13:44:11 2025 -0700 Resolve merge conflicts commit 1f72e63 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 13:33:53 2025 -0700 Fix tests commit a633475 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 12:56:53 2025 -0700 lint commit e34c881 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 12:53:56 2025 -0700 resolve merge conflict commit ab04213 Author: Eitan Seri- Levi <[email protected]> Date: Wed Oct 29 16:55:16 2025 -0700 Ensure we've collected all responses before coupling
…igp#8339) Squashed commit of the following: commit c32c745 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 16:33:06 2025 +1100 Fix tests. commit d9b2515 Author: Michael Sproul <[email protected]> Date: Mon Nov 3 16:03:46 2025 +1100 Apply suggestion from @michaelsproul commit 7edcb6d Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 15:59:44 2025 +1100 Address review comments commit bb1ace8 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 15:43:45 2025 +1100 Fix build commit 580b584 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 15:39:01 2025 +1100 Address review comments. commit 984d1af Merge: 9515494 b57d046 Author: Jimmy Chen <[email protected]> Date: Mon Nov 3 14:47:29 2025 +1100 Merge remote-tracking branch 'origin/release-v8.0' into fork/eserilev/custody-backfill-sync-fix commit 9515494 Merge: 56111a8 55588f7 Author: Eitan Seri-Levi <[email protected]> Date: Sun Nov 2 10:32:01 2025 -0800 Resolve merge conflicts commit 56111a8 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 14:26:03 2025 -0700 Fix comments commit b213fe5 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 13:44:11 2025 -0700 Resolve merge conflicts commit 1f72e63 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 13:33:53 2025 -0700 Fix tests commit a633475 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 12:56:53 2025 -0700 lint commit e34c881 Author: Eitan Seri- Levi <[email protected]> Date: Thu Oct 30 12:53:56 2025 -0700 resolve merge conflict commit ab04213 Author: Eitan Seri- Levi <[email protected]> Date: Wed Oct 29 16:55:16 2025 -0700 Ensure we've collected all responses before coupling
|
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
N/A Includes the following unmerged PRs: - #8344 - #8335 - #8339 This PR should be merged after all above PRs are merged. Co-Authored-By: Jimmy Chen <[email protected]> Co-Authored-By: Jimmy Chen <[email protected]>
Issue Addressed
Custody backfill sync has a bug when we request columns from more than one peer per batch. The fix here ensures we wait for all requests to be completed before performing verification and importing the responses.
I've also added an endpoint
lighthouse/custody/backfillthat resets a nodes earliest available data column to the current epoch so that custody backfill can be triggered. This endpoint is needed to rescue any nodes that may have missing columns due to the custody backfill sync bug without requiring a full re-sync.